import request from '@/utils/request'

export function userList(data) {
  return request({
    url: '/user/user_list',
    method: 'post',
    data
  })
}

export function deleteUser(data) {
  return request({
    url: '/user/deleteUser',
    method: 'post',
    data
  })
}



export function inputFile() {
  return request({
    url: '/user/file-input',
    method: 'get'
  })
}

export function outputUser() {
  return request({
    url: '/user/output',
    method: 'get'
  })
}

export function add(data) {
  return request({
    url: '/user/add',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '/user/updateUser',
    method: 'post',
    data
  })
}

export function queryUser(data) {
  return request({
    url: '/userInfo/queryUser',
    method: 'post',
    data
  })
}
